package modelo.datos;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class Telefono {
	private Short prefijo;
	private Integer numero;
	
	public Telefono() {
		super();
	}

	public Telefono(Short prefijo, Integer numero) {
		super();
		this.prefijo = prefijo;
		this.numero = numero;
	}
}
